/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controllerButtons;

import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JButton;

/**
 *
 * @author luc0
 */
public class NormalControllerButton extends JButton{

    private String buttonToPress;
    private Color color;
    private boolean optionInUse;
    
    public NormalControllerButton(){
        super();
    }

    public String getButtonToPress(){
        return buttonToPress;
    }
    public void setButtonToPress(String btn){
        this.buttonToPress = btn;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.setBackground(color);
        this.color = color;
    }

    public boolean isOptionInUse() {
        return optionInUse;
    }

    public void setOptionInUse(boolean optionInUse) {
        this.optionInUse = optionInUse;
    }

    @Override
    public void paint(Graphics g) {
        super.paint(g);
          //Mouse anchor for move
         g.setColor(Color.RED);
         g.fillRect(0,0,10,10);
    }


}
